package com.yonyou.cyxdms.basedata.service.service.color;

import com.yonyou.cyx.framework.service.base.ICommonService;
import com.yonyou.cyxdms.basedata.service.dto.CarparamcolorDTO;
import com.yonyou.cyxdms.basedata.service.entity.color.ColorPO;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhangsx
 * @since 2018-09-07
 */
public interface CarparamcolorService extends ICommonService<CarparamcolorDTO, ColorPO, Integer> {

    /**
     * 根据车型Id  颜色Id 检索指导价格
     *
     * @param carId
     * @param colorId
     * @return java.lang.Double
     * @author zhangsx
     * @since 2018-09-07
     */
    Double queryPrice(Long carId, Integer colorId);

    Map<String, Object> queryColorByCondition(Map<String, Object> map);

}
